<!-- IF S_SET_SETS -->
		<dl>
			<dt><b>{L_SETS_NAME} - {AF_NAME}</b></dt>
			<dd><b>{L_ACTION}</b></dd>
		</dl>

<!-- BEGIN sets -->
		<dl>
			<dt><input title="{L_FIELD_NAME}" type="text" name="af_name[{sets.ID}]" size="16" maxlength="32" value="{sets.NAME}" /> <input type="text" size="1" maxlength="1" name="af_count[{sets.ID}]" value="{sets.COUNT}" title="{L_COUNT}" /> <input type="text" size="1" maxlength="1" name="af_required[{sets.ID}]" value="{sets.REQUIRED}" title="{L_REQUIRED}" /> <input type="text" name="af_order[{sets.ID}]" size="3" maxlength="3" value="{sets.ORDER}" title="{L_ORDER}" /></dt>
			<dd><!-- IF sets.NAME -->
				<input type="checkbox" name="af_delete[{sets.ID}]" value="1" /> - {L_DELETE} <u>{sets.VALUE}</u>
				<!-- ELSE -->
				<b>{L_ADD}</b> - {AF_SELECTS}
				<!-- ENDIF -->
			</dd>
		</dl>
<!-- END sets -->
<!-- ENDIF -->

<!-- IF S_VIEW_ADDFIELDS -->
		<dl>
			<dt><b>{L_SET_NAME}</b></dt>
			<dd><b>{L_ACTION}</b></dd>
		</dl>
<!-- BEGIN addfields -->
		<dl>
			<dt><input title="{L_SET_NAME}" type="text" name="af_name[{addfields.COUNT}]" size="32" maxlength="64" value="{addfields.NAME}" /></dt>
			<dd><!-- IF addfields.NAME -->
				[<a href="{addfields.A_VIEW_SETS}">{L_VIEW_SETS}</a>, <a href="{addfields.A_COPY_SETS}" title="{L_COPY_SETS_EXPLAIN}">{L_COPY_SETS}</a>]
				[<input type="checkbox" name="af_delete[{addfields.COUNT}]" value="1" /> - {L_DELETE}]
				<!-- ELSE -->
				<b>{L_ADD}</b>
				<!-- ENDIF -->
			</dd>
		</dl>
		<p>
			<input title="{L_ADDFIELD_SUBJECT}" type="text" name="af_subject[{addfields.COUNT}]" style="width:100%;" maxlength="255" value="{addfields.SUBJECT}" /><br />
			<div style="margin-top:5px;"><span title="{L_ADDFIELD_DESCR}"><textarea name="af_descr[{addfields.COUNT}]" style="width:100%;height:100px;">{addfields.DESCR}</textarea></span></div>
		</p>
		<br />
		<hr />
<!-- END addfields -->

<!-- ENDIF -->

{S_HIDDEN_FIELDS}
